package Sample;

public class SampleClass {
	private int _real;
	private int _img;
	
	public SampleClass()
	{
		_real = 0;
		_img = 0;
	}
	
	public SampleClass(int real, int img)
	{
		_real = real;
		_img = img;
	}
	
	public SampleClass Add(SampleClass num)
	{
		int real = _real + num._real;
		int img = _img + num._img;
		return new SampleClass(real, img);
	}
	
	public Boolean Equals(SampleClass num)
	{
		return _real == num._real && _img == num._img;
	}
}
